Skip to content

Instantly share code, notes, and snippets.

@hdknr
hdknr / README.md
Last active May 16, 2026 02:59
at
@tsukashu
tsukashu / YuGothic and @font-face in 2023.css
Last active May 16, 2026 02:58
游ゴシック体を@font-faceで利用する(2023-03-24確認)
/* original posted in https://neos21.net/blog/2020/01/17-01.html */
/* 1. basically override */
@font-face {
font-family: "Yu Gothic";
src: local("Yu Gothic Medium"),local("YuGothic-Medium");
}
@font-face {
font-family: "Yu Gothic";
http://neos21.hatenablog.com/entry/2017/01/08/234540#4-Xubuntu-%E3%82%92%E8%B5%B7%E5%8B%95%E3%81%97%E6%97%A5%E6%9C%AC%E8%AA%9E%E5%85%A5%E5%8A%9B%E3%81%A7%E3%81%8D%E3%82%8B%E3%82%88%E3%81%86%E3%81%AB%E8%A8%AD%E5%AE%9A%E3%81%99%E3%82%8B
@mamemomonga
mamemomonga / wareki-js.md
Last active May 16, 2026 02:58
JavaScriptは和暦に対応しているらしい

JavaScriptは和暦に対応しているらしい

JavaScriptコンソールにペーストして動作を確認できる

new Date().toLocaleDateString('ja-JP-u-ca-japanese', { era : 'long', year : 'numeric', month : 'long', day : 'numeric', weekday : 'short', hour12 : true, hour : 'numeric', minute : 'numeric', second : 'numeric'})

用法

// 和暦にするには 'ja-JP-u-ca-japanese' を指定する
new Date().toLocaleDateString('ja-JP-u-ca-japanese', {
@liuran001
liuran001 / config.yaml
Last active May 16, 2026 02:58
mihomo (Clash Meta) 懒人配置
# AFF
# 如果你想支持我,可以通过我的邀请链接购买机场
# 感谢支持
# 1. ssLinks 邀请码: fSo2OhzH https://98a6251b6cd7471da86cca993b6dbe6f.36d.biz/#/register?code=fSo2OhzH
# 2. 一元机场 邀请码: r3f1duds https://xn--4gq62f52gdss.top/#/register?code=r3f1duds
# 一定要填我的邀请码,不填我哭给你看😭
# mihomo (Clash Meta) 懒人配置
# 版本 V1.23-251221

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@lltx
lltx / terminal-setup.md
Created March 23, 2026 01:07
🚀 现代化终端配置指南 - Ghostty + Zoxide + Yazi + Oh-My-Zsh

🚀 现代化终端配置指南

Ghostty + Zoxide + Yazi + Oh-My-Zsh 完整配置

📦 工具列表

  • Ghostty - 现代化 GPU 加速终端模拟器
  • Zoxide - 智能目录跳转工具(cd 的智能替代)
  • Yazi - 快速终端文件管理器
  • Oh-My-Zsh - Zsh 配置框架
@zchee
zchee / actionlist.vim
Last active May 16, 2026 02:45
IdeaVim actionlist
--- Actions ---
$Copy <M-C>
$Cut <M-X> <S-Del>
$Delete <Del> <BS> <M-BS>
$LRU
$Paste <M-V>
$Redo <M-S-Z> <A-S-BS>
$SearchWeb <A-S-G>
$SelectAll <M-A>
$Undo <M-Z>
@Tuurash
Tuurash / Windows_ProductKeys.txt
Last active May 16, 2026 02:44 — forked from KathariHC/gist:18b79d862cb12199cbd60025faff0a09
Microsoft Generic Product Keys for All Editions
Generic keys is default keys from Microsoft will allow you to install or upgrade to a specific Microsoft software you want,
but will not activate it. if you want to activate it , you can buy the Microsoft Retail Product Keys from Keyingo.com
Microsoft Generic Product Keys for All Editions
Windows Server 2022 Datacenter
WX4NM-KYWYW-QJJR4-XV3QB-6VM33
Windows Server 2022 Standard
VDYBN-27WPP-V4HQT-9VMD4-VMK7H